﻿using System;
using System.Collections.Generic;
using System.Text;

using Evaluant.Uss.ObjectContext.Descriptors;

namespace NUnit.DynamicProxy
{
    [Serializable] // For Detach() purpose
    public class Company
    {
        protected string _Name;

        [PersistentProperty("_Name")]
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        protected IList<Employee> m_employees = new List<Employee>();

        [PersistentProperty("m_employees")]
        public IList<Employee> Employees
        {
            get { return m_employees; }
            set { m_employees = value; }
        }
    }
}
